package com.mgy.shardingjdbc.test.domain.notepad;


import java.util.Date;

/**
 * 测试
 *
 * @author maguoyong
 * @since 2018/06/22
 */
//@Alias("Notepad")
public class Notepad {

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Long getTagId() {
        return tagId;
    }

    public void setTagId(Long tagId) {
        this.tagId = tagId;
    }

    public Date getCreated() {
        return created;
    }

    public void setCreated(Date created) {
        this.created = created;
    }

    public Date getModified() {
        return modified;
    }

    public void setModified(Date modified) {
        this.modified = modified;
    }

    private Integer id;
    private Integer userId;
    private String title;
    private String content;
    private Long tagId;
    private Date created;
    private Date modified;


    @Override
    public String toString() {
        return "Notepad{" +
                "id=" + id +
                ", userId=" + userId +
                ", title='" + title + '\'' +
                ", content='" + content + '\'' +
                ", tagId=" + tagId +
                ", created=" + created +
                ", modified=" + modified +
                '}';
    }
}
